<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:mstns="http://www.badhabit.com/XMLSchema/2008/TeamDataSet.xsd" xmlns="http://www.badhabit.com/XMLSchema/2008/TeamDataSet.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.badhabit.com/XMLSchema/2008/TeamDataSet.xsd" id="TeamDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="TeamDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Member">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MemberId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DefaultUnitName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NickName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FactoryOwnerRole" type="xs:boolean" />
              <xs:element name="ScrumMasterRole" type="xs:boolean" />
              <xs:element name="TeamRole" type="xs:boolean" />
              <xs:element name="ProductOwnerRole" type="xs:boolean" />
              <xs:element name="CommercialGuyRole" type="xs:boolean" />
              <xs:element minOccurs="0" name="EmailAccount">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="ContactData">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Company">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ClientContactRole" type="xs:boolean" />
              <xs:element minOccurs="0" name="AccessKey">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="Disable" type="xs:boolean" />
              <xs:element name="QualityAssuranceRole" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DistinctCompany">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Company">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MemberAllocation">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MemberId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="ProjectCount" type="xs:int" />
              <xs:element minOccurs="0" name="AvailableAt" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MemberAvatar">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MemberId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="MemberImage" type="xs:base64Binary" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:Member" />
      <xs:field xpath="mstns:MemberId" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="MemberAllocation_Constraint1">
      <xs:selector xpath=".//mstns:MemberAllocation" />
      <xs:field xpath="mstns:MemberId" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="MemberAvatar_Constraint1">
      <xs:selector xpath=".//mstns:MemberAvatar" />
      <xs:field xpath="mstns:MemberId" />
    </xs:unique>
  </xs:element>
</xs:schema>